<?php
$HTMLstr .= '<div class="body">
    <div class="findOne">
    <div class="findOneInside">';
if (empty($this->post)){
    $this->post = null;
}

if (!empty($this->message)) {
    $HTMLstr .= '<p>'.$this->message.'</p>';
}

$HTMLstr .= ' <form action="?controller=login" method="post">
        <div class="head">
        Логин:
        </div>
        <div class="fetchallOne" id="frame">
        <textarea cols="30" rows="1" name="username">'. $this->post['username'] .'</textarea>
            </div>
        <div class="head">
        Пароль:
        </div>
        <div class="fetchallOne" id="frame">
          <textarea cols="30" rows="1" name="password"></textarea>
          </div>
            <div class="fetchallOne" id="frame">
            <input type="submit" name="login" value="Войти">
      </div>
    </form>
    </div>
        </div>
        </div>';